package edu.neusoft.kongfanfei317.yuejian1.model;

import java.util.List;

import edu.neusoft.kongfanfei317.yuejian1.bean.ClubBean;
import edu.neusoft.kongfanfei317.yuejian1.iface.ClubIface;
import edu.neusoft.kongfanfei317.yuejian1.listener.ListListener;
import edu.neusoft.kongfanfei317.yuejian1.service.Service;
import retrofit2.Call;
import retrofit2.Retrofit;



public class ClubModel extends RetrofitBaseModel implements ClubIface<ClubBean> {
    private Retrofit retrofit;
    Service service;
    public ClubModel(){
        retrofit = getRetrofit();
    }


    @Override
    public void getShop(ListListener<ClubBean> listListener) {
        service=getService();
        Call<List<ClubBean>> call = service.getshop();
        callenqueueList(call,listListener);
    }
}
